import { request } from '@ruifox-cms/utils'

//获取用户待审核数据
export function selectAuditingPagecommentMessages(params) {
  return request({
      url: '/comment/api/commentMessages/selectAuditingPage',
      method: 'get',
      params
  })
}

// 审核留言
export function auditcommentMessages(data) {
  return request({
      // baseURL: process.env.NODE_ENV == 'development' ? '/9111_api' : '/api',
      url: '/workflow/processTask/audit',
      method: 'post',
      data,
  })
}

// 批量审核
export function auditCommentBatch(data) {
    return request({
        url: '/station/api/comment/batchAudit',
        method: 'post',
        data
    })
}